import 'package:fluro/fluro.dart';
import 'package:flutter/cupertino.dart';

import 'router_handler.dart';

class Routes {
  static String root = '/';
  static String addConsumerPage = '/addConsumerPage';

  static void configureRoutes(Router router) {
    router.notFoundHandler = Handler(
        handlerFunc: (BuildContext context, Map<String, List<String>> params) {
      print('ERROR ==== > ROUTE WAS NOT FOUND!');
    });
    router.define(addConsumerPage, handler: addConsumerHandler);
  }
}
